package com.hstcs.creator;

import com.badlogic.ashley.core.Entity;
import com.hstcs.components.TimeEventComponent;
import com.hstcs.game.God;

public class TimeEventCreator implements EntityCreator {
	public static int _Monster = 1;
	

	static public void create(){
	//	createMonsterEvent();
	}
	
	static public void createMonsterEvent(){
		Entity entity = new Entity();
		TimeEventComponent ec = new TimeEventComponent();
		ec.type = _Monster;
		ec.isFinish = false;
		ec.time = 3;
		ec.para1 =2; //怪物个数
		
		entity.add(ec);
		
		God.instance.engine.addEntity(entity);
		
	}
}
